package com.imooc.mapper;

import com.imooc.pojo.BasicCode;
import com.imooc.pojo.Users;
import com.imooc.utils.MyMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UsersMapper extends MyMapper<Users> {

    int insertUser(Users users);
    int insertBasicCode(BasicCode basicCode);
    Users getUsername (String username);
    BasicCode getBasicCode(int userid);
}